﻿using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.WebPages;

namespace WebApplicationTestJs.Models
{
    public abstract class MyWebPageBase : WebPageBase  // WebPageBase
    {
        //public static MyWebPageBase Instance = new MyWebPageBase();
        public new HelperResult RenderSection(string name, bool required)
        {
            var result = base.RenderSection(name, required);
            TextWriter textWriter = base.GetOutputWriter();
            result.WriteTo(textWriter);
            return result;
        }

        public override void Execute()
        {
            throw new NotImplementedException();
        }
    }
}